#include<cstdio>
#include<cstring>
#include<cmath>
#include<ctime>
#include<iostream>
#include<algorithm>
using namespace std ;
int main()
{
	struct tm *loc;
	time_t t;
	t=time(NULL);
	loc=localtime(&t);
	//system("sh mac.sh");
	system("git add .");
	char qwq[1000];
	sprintf(qwq,"git commit -am %02d-%02d-%02d_%02d:%02d",loc->tm_year+1900,loc->tm_mon+1,loc->tm_mday,loc->tm_hour,loc->tm_min);
	system(qwq);
	system("git push -f origin master");
	return 0;
}
